import {NgModule} from '@angular/core';
import {RouterModule, Routes} from "@angular/router";
import {SettingComponent} from "./setting.component";
import { NzMessageModule } from 'ng-zorro-antd/message';
import { NzModalModule } from 'ng-zorro-antd/modal';
import { NzBreadCrumbModule } from 'ng-zorro-antd/breadcrumb';
import { NzTableModule } from 'ng-zorro-antd/table';
import { NzToolTipModule } from 'ng-zorro-antd/tooltip';
import { NzSelectModule } from 'ng-zorro-antd/select';
import { NzLayoutModule } from 'ng-zorro-antd/layout';
import { NzButtonModule } from 'ng-zorro-antd/button';
import { NzInputModule } from 'ng-zorro-antd/input';
import { NzRadioModule } from 'ng-zorro-antd/radio';
import { NzFormModule } from 'ng-zorro-antd/form';
import { NzIconModule } from 'ng-zorro-antd/icon';
import { NzTabsModule } from 'ng-zorro-antd/tabs';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { SharedModule } from 'src/app/shared/shared.module';

const routes: Routes = [
    {
        path: '',
        data:{ title: 'Product-Setting'},
        component: SettingComponent
    }
];

@NgModule({
    declarations: [SettingComponent],
    imports: [
        SharedModule,
        RouterModule.forChild(routes),
        CommonModule,
        FormsModule,
        NzMessageModule,
        NzModalModule,
        NzBreadCrumbModule,
        NzTableModule,
        NzToolTipModule,
        NzSelectModule,
        NzButtonModule,
        NzInputModule,
        NzRadioModule,
        NzFormModule,
        NzIconModule,
        NzLayoutModule,
        NzTabsModule
    ]
})
export class SettingModule {
}
